package net.java.mediasystems.desktop;

import java.net.URL;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class ApplicationShell extends Application {

	@Override
	public void start(Stage stage) throws Exception {
		stage.setWidth(700);
		stage.setHeight(500);
		stage.setTitle("MediaSystems");
				
		
		URL resource = getClass().getResource("Application.fxml");
		System.out.println(resource);
		
		Parent root = (Parent) FXMLLoader.load(resource); 
		Scene scene = new Scene(root);
		stage.setScene(scene);
		stage.show();
	}
	
	public static void main(String[] args) {
		launch(args);		
	}
	
}
